﻿@model VietPremier.Areas.AdminCP.Models.AdminAboutUsModel

@{
    ViewBag.Title = "Index";
    Layout = "~/Areas/AdminCP/Views/Shared/AdminLayout.cshtml";
}

<script src="@Url.Content("~/Content/cssAdmin/js/plugins/jquery-1.7.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Content/cssAdmin/js/plugins/jquery-ui-1.8.16.custom.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Content/cssAdmin/js/custom/tables.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Content/cssAdmin/js/plugins/jquery.dataTables.min.js")" type="text/javascript"></script>

<script type="text/javascript">
    jQuery(document).ready(function () {
        //LoadTable();
        $('#nofSuccess').hide(); // an thong bao
        $('#nofError').hide();
    });

    function alertMsg(msg) {
        $('#nofSuccess').hide();
        $('#nofError').show();
        $('#msgNofError').text(msg);
    }
</script>
<div class="maincontentinner">

    <ul class="maintabmenu">
        <li class="current"><a href="@Url.Action("Index", "AdminAboutUs")" >Quản lý thông tin Giới thiệu</a></li>        
    </ul>
    <!--maintabmenu-->

    <div class="notification msgsuccess" style="display: none" id="nofSuccess">
        <a class="close"></a>
        <p id="msgNofSuccess">This is a success message.</p>
    </div>
    <!-- notification msgsuccess -->

    <div class="notification msgerror" style="display: none" id="nofError">
        <a class="close"></a>
        <p id="msgNofError">This is an error message.</p>
    </div>
    <!-- notification msgerror -->

    <div class="contenttitle radiusbottom0">
        <h2 class="table"><span>Thông tin Giới thiệu</span></h2>
    </div>
    <!--contenttitle-->

    <table cellpadding="0" cellspacing="0" border="0" class="stdtable" id="dyntable">
        <colgroup>
             <col class="con0" />
            <col class="con1" />
            <col class="con0" />
            <col class="con1" />            
        </colgroup>
        <thead>
            <tr>
                <th class="head0">Index</th>                
                <th class="head1">Tên</th> 
                <th class="head0">Nội dung</th>             
                <th class="head1">Thao tác</th>    

            </tr>
        </thead>
        <tfoot>
            <tr>
               <th class="head0">Index</th>                
                <th class="head1">Tên</th> 
                <th class="head0">Nội dung</th>             
                <th class="head1">Thao tác</th>    
            </tr>
        </tfoot>
        <tbody>
          
                <tr class="gradeX">
                    <td>1</td>                    
                    <td>@Model.Name</td>                              
                     <td>@Html.Raw(Model.Body)</td>                    
                    <td class="center">
                        @Html.ActionLink("Edit", "Edit", new { id = @Model.Id })
                       &nbsp;
                         @Html.ActionLink("ListAboutUs Manage","Index", "AdminListAboutUS", new { id = @Model.Id },null)
                    </td>
                </tr>
            
        </tbody>
    </table>

</div>
<!--maincontentinner-->